package tech.yixiyun.framework.kuafu.component.unregister;


import tech.yixiyun.framework.kuafu.domain.DomainContext;
import tech.yixiyun.framework.kuafu.domain.annotation.Domain;

public class DomainComponentUnregistrar implements IComponentUnregistrar {
    @Override
    public boolean unregister(Class clazz) {

        if (clazz.isAnnotationPresent(Domain.class)) {
            DomainContext.unregister(clazz);
        }
        return true;
    }
}
